package com.zhilianbao.leyaogo.model.response.me;

import java.io.Serializable;
import java.util.List;

/**
 * Created by liu on 2016/10/26.
 */
public class HistoryResponse implements Serializable{
    /**
     * total : 1
     * list : [{"costAmount":0,"balance":7334,"createTime":1481531377000,"linkNo":"P0001201612121139045310688","linkId":716,"tradeNo":"","incomeAmount":0.01,"payWay":{"name":"ALIPAY"},"businessType":{"name":"RECHARGE"},"fundNo":"F0005201612121626105625428"}]
     */

 /*   private int total;
    private List<ListBean> list;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public List<ListBean> getList() {
        return list;
    }

    public void setList(List<ListBean> list) {
        this.list = list;
    }

    public static class ListBean {
        *//**
         * costAmount : 0
         * balance : 7334
         * createTime : 1481531377000
         * linkNo : P0001201612121139045310688
         * linkId : 716
         * tradeNo :
         * incomeAmount : 0.01
         * payWay : {"name":"ALIPAY"}
         * businessType : {"name":"RECHARGE"}
         * fundNo : F0005201612121626105625428
         *//*

        private double costAmount;
        private double balance;
        private long createTime;
        private String linkNo;
        private int linkId;
        private String tradeNo;
        private double incomeAmount;
        private PayWayBean payWay;
        private BusinessTypeBean businessType;
        private String fundNo;

        public double getCostAmount() {
            return costAmount;
        }

        public void setCostAmount(double costAmount) {
            this.costAmount = costAmount;
        }

        public double getBalance() {
            return balance;
        }

        public void setBalance(double balance) {
            this.balance = balance;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public String getLinkNo() {
            return linkNo;
        }

        public void setLinkNo(String linkNo) {
            this.linkNo = linkNo;
        }

        public int getLinkId() {
            return linkId;
        }

        public void setLinkId(int linkId) {
            this.linkId = linkId;
        }

        public String getTradeNo() {
            return tradeNo;
        }

        public void setTradeNo(String tradeNo) {
            this.tradeNo = tradeNo;
        }

        public double getIncomeAmount() {
            return incomeAmount;
        }

        public void setIncomeAmount(double incomeAmount) {
            this.incomeAmount = incomeAmount;
        }

        public PayWayBean getPayWay() {
            return payWay;
        }

        public void setPayWay(PayWayBean payWay) {
            this.payWay = payWay;
        }

        public BusinessTypeBean getBusinessType() {
            return businessType;
        }

        public void setBusinessType(BusinessTypeBean businessType) {
            this.businessType = businessType;
        }

        public String getFundNo() {
            return fundNo;
        }

        public void setFundNo(String fundNo) {
            this.fundNo = fundNo;
        }

        public static class PayWayBean {
            *//**
             * name : ALIPAY
             *//*

            private String name;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }

        public static class BusinessTypeBean {
            *//**
             * name : RECHARGE
             *//*

            private String name;

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }
        }
    }
*/
  /**
     * createTime (string, optional): 时间 ,
     * businessType (string, optional): CONSUME 消费 、RECHARGE 充值、REFUND 退款、WITHDRAW 提现 ,
     * fundNo (string, optional): 资金流水号 ,
     * incomeAmount (number, optional): 收入 ,
     * costAmount (number, optional): 支出 ,
     * balance (number, optional): 结算前余额 ,
     * payWay (string, optional): 支付方式 ACCOUNT 余额、CARD_ACCOUNT 卡余额 、ALIPAY 支付宝、WEIXIN 微信 ,
     * tradeNo (string, optional): 支付平台流水号 ,
     * linkId (integer, optional): 关联Id ,
     * linkNo (string, optional): 关联编号
     */

    private long createTime;
    private String businessType;
    private String fundNo;
    private double incomeAmount;
    private double costAmount;
    private double balance;
    private String payWay;
    private String tradeNo;
    private long linkId;
    private String linkNo;
    private int total;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public double getIncomeAmount() {
        return incomeAmount;
    }

    public void setIncomeAmount(double incomeAmount) {
        this.incomeAmount = incomeAmount;
    }

    public double getCostAmount() {
        return costAmount;
    }

    public void setCostAmount(double costAmount) {
        this.costAmount = costAmount;
    }

    public double getBalance() {
        return balance;
    }

    public void setBalance(double balance) {
        this.balance = balance;
    }

    public long getLinkId() {
        return linkId;
    }

    public void setLinkId(long linkId) {
        this.linkId = linkId;
    }

    public long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(long createTime) {
        this.createTime = createTime;
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType;
    }

    public String getFundNo() {
        return fundNo;
    }

    public void setFundNo(String fundNo) {
        this.fundNo = fundNo;
    }



    public String getPayWay() {
        return payWay;
    }

    public void setPayWay(String payWay) {
        this.payWay = payWay;
    }

    public String getTradeNo() {
        return tradeNo;
    }

    public void setTradeNo(String tradeNo) {
        this.tradeNo = tradeNo;
    }


    public String getLinkNo() {
        return linkNo;
    }

    public void setLinkNo(String linkNo) {
        this.linkNo = linkNo;
    }
}
